<div>
  <div class="modal-card">
    <label>
      <span><span class="require">*</span>车间编码</span>
    </label>
    <input type="text" dTextInput class="form-input-box" name="PostRole" [(ngModel)]="workShop.workshopNum">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!workShop.workshopNum">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span><span class="require">*</span>车间名称</span>
    </label>
    <input type="text" dTextInput class="form-input-box" name="PostRole" [(ngModel)]="workShop.workshopName">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!workShop.workshopName">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span>工作时长</span>
    </label>
    <d-input-number [(ngModel)]="workShop.workingHours" class="input-number form-input-box" [allowEmpty]="true"></d-input-number>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span>车间主任</span>
    </label>
      <input dTextInput class="form-input-box" (click)="selectUser()" [(ngModel)]="this.workshopSupervisorName" name="name">
  </div>
  <div class="modal-card mt-3">
    <label>
      <span>车间线边仓位</span>
    </label>
    <input dTextInput class="form-input-box" (click)="selectPosition()" [(ngModel)]="this.positionName">
  </div>

</div>
